package com.yiwyn.util;

import org.springframework.aop.framework.AopContext;

public class Self<T> {

    public T me;

    public static <T> T me(Class<T> tClass) {
        return tClass.cast(AopContext.currentProxy());
    }

    public Self(T me) {
        this.me = me;
    }


}
